package com.ruyuan.commodity.enums;

/**
 * 商品上下架枚举类
 **/
public enum  GoodsMarketEnableEnums {

    /**
     * 商品上架状态 1上架  0下架
     */
    MARKET_ENABLE_UP(1, "上架"),

    MARKET_ENABLE_DOWN(0, "下架"),
    ;

    /**
     * 枚举值
     */
    private Integer code;

    /**
     * 描述信息
     */
    private String desc;

    GoodsMarketEnableEnums(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
